package org.csu.hotelsys.persistence;

import org.apache.ibatis.annotations.Param;
import org.csu.hotelsys.domain.ConsumAccount;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConsumAccountMapper {

    ConsumAccount getConsumAccount(@Param("checkInId") String checkInId);

    void updateConsumAccount(ConsumAccount consumAccount);//更新total的内容
    //void insertConsumAccount(ConsumAccount consumAccount,@Param("checkInId") String checkInId,@Param("total") double total);//插入一个
}
